<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="layout :: htmlhead" th:with="title='添加用户'">
    <meta charset="UTF-8"/>
</head>
<body class="container">
    <div th:replace="layout :: navbar">(navbar)</div>
    
	<div class="container">
      <div class="starter-template">
        <br/>
		<h1>添加用户</h1>
		<br/><br/>
		<div class="with:80%">
		    <form class="form-horizontal"   th:action="@{/user/add}"  method="post">
		        <div class="form-group">
		            <label for="userName" class="col-sm-2 control-label">userName</label>
		            <div class="col-sm-10">
		                <input type="text" class="form-control" name="userName"  id="userName" placeholder="userName"/>
		            </div>
		        </div>
		        <div class="form-group">
		            <label for="password" class="col-sm-2 control-label" >Birthday</label>
		            <div class="col-sm-10">
		                <input type="text" class="form-control" name="userBirthday" id="userBirthday" placeholder="userBirthday"/>
		            </div>
		        </div>
		        <div class="form-group">
		            <label for="age" class="col-sm-2 control-label">Salary</label>
		            <div class="col-sm-10">
		                <input type="text" class="form-control" name="userSalary"  id="userSalary" placeholder="userSalary"/>
		            </div>
		        </div>
		        <div class="form-group">
		            <div class="col-sm-offset-2 col-sm-10">
		                <input type="submit" value="Submit" class="btn btn-info" />
		                &nbsp; &nbsp; &nbsp;
		                <input type="reset" value="Reset" class="btn btn-info" />
		            </div>
		
		        </div>
		    </form>
		</div>
      </div>
    </div>

    <div th:include="layout :: footer" id="footer">(footer)</div>
</body>
</html>
